﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WisDom.SmartTMS.Dto;

namespace WisDom.SmartTMS.InterFace
{
    /// <summary>
    /// 离职办理AppService接口
    /// </summary>
    public interface ILeaveDealAppService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="materialDto"></param>
        /// <returns></returns>
        Task<LeaveDealDtoCreate> Add(LeaveDealDtoCreate leaveDealDtoCreate);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task Delete(Guid id);

        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<LeaveDealDto> Edit(Guid id);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="material"></param>
        /// <returns></returns>
        Task<LeaveDealDto> Upt(LeaveDealDto material);

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="leaveDealDtoCreate"></param>
        /// <param name="creatorID"></param>
        /// <param name="LcreatorID"></param>
        /// <returns></returns>
        //int AddLeaveDeal(LeaveDealDtoCreate leaveDealDtoCreate,List<int> creatorID,int LcreatorID);
    }
}
